﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Architecture.Domain
{
    /// <summary>
    /// 养殖信息表
    /// </summary>
    public class Farming
    {
        /// <summary>
        /// 养殖表主键
        /// </summary>
        [Key]
        public int FarmingId { get; set; }

        /// <summary>
        /// 溯源表Id
        /// </summary>
        public int TraceabilityId { get; set; }

        /// <summary>
        /// 品种
        /// </summary>
        public string? FarmingVariety { get; set; }
        /// <summary>
        /// 来源
        /// </summary>
        public string? FarmingSource { get; set;}
        /// <summary>
        /// 饲养天数
        /// </summary>
        public string? FarmingDay { get; set;}
        /// <summary>
        /// 饲料品牌
        /// </summary>
        public string? FarmingFeed { get; set;}
        /// <summary>
        /// 饲养负责人
        /// </summary>
        public string? FarmingHead { get; set;}
        /// <summary>
        /// 出栏日期
        /// </summary>
        public DateTime? FarmingTime { get; set;}
    }
}
